<tal:block metal:define-macro="standard">

  <table>
    <tr style="background-color:#e3e3e3; font-weight: bold;">
      <td style="width:15%;">${text/inventory_hardware_category | NULL}</td>
      <td style="width:20%;">${text/inventory_hardware_manufacturer | NULL}</td>
      <td style="width:20%;">${text/inventory_hardware_model | NULL}</td>
      <td style="width:15%;">${text/inventory_hardware_inventory | NULL}</td>
      <td style="width:10%">${text/inventory_hardware_assignment | NULL}</td>
      <td style="width:10%;">${text/inventory_hardware_date_of_purchase | NULL}</td>
      <td style="width:10%;">
        <span style="float:right">
          <a type="button" aria-label="Left Align" class="btn btn-default glyphicon glyphicon-plus" aria-hidden="true" tal:condition="php:_SESSION['admin'] == True' | NULL" title="${text/structure_new_license | NULL}" href="${getPath}/inventory/hardware/new" />
        </span>
      </td>
    </tr>

    <tr tal:condition="liste | NULL" tal:repeat="list liste">
      <td>${list/kategorie | NULL}</td>
      <td>${list/hersteller | NULL}</td>
      <td>${list/modell | NULL}</td>
      <td>${list/inventarnummer | NULL}</td>
      <td>${list/zuordnung | NULL}</td>
      <td>${list/kaufdatum | NULL}</td>
      <td>
        <span tal:condition="php:_SESSION['admin'] == True' | NULL" style="float:right">
          <a type="button" aria-label="Left Align" class="btn btn-default glyphicon glyphicon-edit" aria-hidden="true" title="${text/vmware_detail_edit | NULL}" href="${getPath}/inventory/hardware/edit/${list/id}" />
          <a type="button" aria-label="Left Align" class="btn btn-default glyphicon glyphicon-trash" aria-hidden="true" title="${text/structur_system_del | NULL}" href="${getPath}/inventory/hardware/delete/${list/id}" onclick="return confirm('${text/inventory_hardware_delete | NULL}');" />
        </span>
      </td>
    </tr>
  </table>

</tal:block>